home *** CD-ROM | disk | FTP | other *** search
/ Champak 66 / Vol 66.iso / games / doodle_d.swf / scripts / frame_73 / DoAction_4.as < prev    next >
Text File  |  2013-04-24  |  343b  |  18 lines

  1. function spawn()
  2. {
  3.    if(eNumb < 5)
  4.    {
  5.       eAmount++;
  6.       eNumb++;
  7.       depth = _root.getNextHighestDepth();
  8.       _root.attachMovie("en15","e" + eNumb,depth);
  9.       e = eval("e" + eNumb);
  10.       e._x = Math.random() * 640;
  11.       e._y = 880;
  12.       e.che = eAmount;
  13.    }
  14. }
  15. var eNumb = 0;
  16. var eNumb2 = 0;
  17. var eAmount = 0;
  18.